@import '../../../node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css';
@import "mixins";

* {
    @include font-roboto();
}

a, .cp {
    cursor: pointer;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    padding: 1rem 0 0;
}

.flex-spacer {
    flex-grow: 1;
}

.progress-spinner {
    height: calculateRem(60px) !important;
    @include push--auto(2rem);
}

snack-bar-container {
    background: $primary--color !important;
}

.mat-menu-content {
    background: $primary--color;
}

.mat-menu-item, .mat-menu-item .mat-icon {
    color: $secondary--color;
    font-weight: 100;
}

.hero-actions {
    align-items: center;
    display: flex;
    padding-bottom: 1rem;
}

.like-icon {
    color: $red;
    cursor: pointer;
}

.mat-raised-button[disabled] {
    background: $grey !important;
}

.mat-dialog-container {
    background: $primary--color;
    color: $secondary--color;
}

.mat-dialog-content {
    text-align: center;
    padding: 1rem calculateRem(24px) !important;
}

.mat-dialog-title {
    text-align: center;
}

.hero-header-image {
    background-size: cover;
}

.mat-card-image {
    margin-bottom: -28px !important;
    border-top: 1px solid $light-grey;
}

.mat-list-avatar {
    height: calculateRem(55px) !important;
    width: calculateRem(55px) !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

pre {
    background: $light-grey;
    border: 1px solid $grey;
    border-left: 3px solid $primary--color;
    color: $primary--color;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: calculateRem(15px);
    line-height: 1.6;
    margin-bottom: 1.6rem;
    max-width: 100%;
    overflow: auto;
    padding: 1rem 1.5rem;
    display: block;
    text-align: left;
    word-wrap: break-word;
}

.offline-error {
    font-size: 1rem;
    font-weight: 300;
    padding: 1rem;
    text-align: center;

    span {
        transform: rotate(90deg);
        font-size: 0.8rem;
        display: inline-flex;
    }
}